import request from '@/utils/request'


export default {
    getOwnerByMobile(mobile){
        return request({
            url: `/proservice/pro-owner/getOwnerByMobile/${mobile}`,
            method: 'get'
        })
    },
    getPark(ownerId){
        return request({
            url: `/proservice/pro-park/getParkByOwnerId/${ownerId}`,
            method: 'get'
        })
    },
    getCharge(ownerId){
        return request({
            url: `/proservice/pro-charge/getChargeByOwnerId/${ownerId}`,
            method: 'get'
        })
    },
    getTemporarypark(ownerId){
        return request({
            url: `/proservice/pro-temporarypark/getTemParkByOwnerId/${ownerId}`,
            method: 'get'
        })
    },
    getComplaint(ownerId){
        return request({
            url: `/proservice/pro-complaint/getComplaintByOwnerId/${ownerId}`,
            method: 'get'
        })
    }

}

